-
Notifications
You must be signed in to change notification settings - Fork 45
database support for PendingMgsUpdate
for SP updates
#8291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The cleanup really wanted a rustfmt pass, but rustfmt hasn't been working on this code path. Fixing that added a bunch of noise so I split that into #8394 and made this PR dependent on that one. |
// TODO these need to be serialized to the database. | ||
// See oxidecomputer/omicron#7981. | ||
pending_mgs_updates: PendingMgsUpdates::new(), | ||
pending_mgs_updates, | ||
sleds: sled_configs, | ||
parent_blueprint_id, | ||
internal_dns_version, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's below the diff, but:
a) I think we also need to update blueprint_delete
, right?
b) I'm surprised we don't have any tests that caught this; do we need a test like we have for inventory that checks that deletion doesn't leave any leftovers behind in any of the bp_*
tables?
This is mostly code-complete, the test is updated, and it appears to work.
Depends on #8394.
TODO: